<div class="input-group mb-3">
  <div class="input-group-prepend">
    <span class="input-group-text" id="basic-addon1">标题</span>
  </div>
  <input type="text" [(ngModel)]="product.title" class="form-control" placeholder="请输入标题" aria-label="Username" aria-describedby="basic-addon1">
</div>



<div class="input-group mb-3">
  <div class="input-group-prepend">
    <span class="input-group-text" id="basic-addon3">图片</span>
  </div>
  <input type="file" (change)="onFileChanged($event)">
</div>


<p-editor [(ngModel)]="product.comtent"  [style]="{'height':'360px','width':'772px'}"></p-editor>

<button class="btn btn-primary" (click)="save()">保存</button>

